package com.trkj.dao.hjj;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.trkj.pojo.Emppass;


public interface IUserDAO extends JpaRepository<Emppass, Long>{
	@Query("from Emppass e where e.passId=?1 and e.passPwd=?2")
	public Emppass findByNameAndPass(Long passId, String passPwd);
}
